import { defineStore } from "pinia";
export const useInfoStore = defineStore("info", {
  state: () => ({ info: {}, contactUs: {}, openid: {} }),
  getters: {
    // double: (state) => state.active * 2,
  },
  actions: {
    changeInfo(val) {
      this.info = val;
      console.log(val, this.info, 'changeInfo--');
      
    },
    changeContact(val) {
      this.contactUs = val;
    },
    changeOpenid(val) {
      this.openid = val;
    }
  },
});